package com.ctshk.rpc.user.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  批量删除req
 * </p>
 *
 * @author 李新科
 * @date 2021/6/9 15:50
 */
@Data
@ApiModel
public class BatchDeleteReq implements Serializable {

    @ApiModelProperty(value = "id数组")
    @NotEmpty(message = "删除数组不能为空")
    private List<Long> ids;

    @ApiModelProperty(value = "前端不用传该字段")
    private Long userId;
}
